#ifndef SPEEDTESTRESULT_H
#define SPEEDTESTRESULT_H

#include <QWidget>
#include <QPaintEvent>
#include <QPainter>
#include "ettadatastruct.h"
#include "blldataflow.h"

namespace Ui {
class FlowTestResult;
}

class FlowTestResult : public QWidget
{
    Q_OBJECT

public:
    explicit FlowTestResult(QWidget *parent = nullptr);
    ~FlowTestResult();
    void show(const FlowTest &st);

private slots:
    void on_btnOK_clicked();
    void on_btnClose_clicked();
    void on_btnExportFlowRes_clicked();

    void updateFlowTestResultSlot(const FlowTest &st);
    void retranslateUiSlot();
    void show() {}

private:
    void initWidget();

protected:
    void paintEvent(QPaintEvent *);

private:
    Ui::FlowTestResult *ui;
    BllDataFlow * bdf;
};

#endif // SPEEDTESTRESULT_H
